package com.ecoolex.ying.space.core.mapper;

import com.ecoolex.framework.common.annotation.Description;
import com.ecoolex.ying.space.entity.DesignerProjectAttribute;
import com.ecoolex.ying.space.entity.DesignerProjectAttributeExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.lang.NonNull;

public interface DesignerProjectAttributeMapper {
    long countByExample(DesignerProjectAttributeExample example);

    int deleteByExample(DesignerProjectAttributeExample example);

    int deleteByPrimaryKey(Integer projectId);

    int insert(DesignerProjectAttribute record);

    int insertSelective(@Param("record") DesignerProjectAttribute record, @Param("selective") DesignerProjectAttribute.Column ... selective);

    DesignerProjectAttribute selectOneByExample(DesignerProjectAttributeExample example);

    List<DesignerProjectAttribute> selectByExample(DesignerProjectAttributeExample example);

    DesignerProjectAttribute selectByPrimaryKey(Integer projectId);

    DesignerProjectAttribute selectByPrimaryKeyWithLogicalDelete(@Param("projectId") Integer projectId, @Param("andLogicalDeleted") boolean andLogicalDeleted);

    int updateByExampleSelective(@Param("record") DesignerProjectAttribute record, @Param("example") DesignerProjectAttributeExample example, @Param("selective") DesignerProjectAttribute.Column ... selective);

    int updateByExample(@Param("record") DesignerProjectAttribute record, @Param("example") DesignerProjectAttributeExample example);

    int updateByPrimaryKeySelective(@Param("record") DesignerProjectAttribute record, @Param("selective") DesignerProjectAttribute.Column ... selective);

    int updateByPrimaryKey(DesignerProjectAttribute record);

    int batchInsert(@Param("list") List<DesignerProjectAttribute> list);

    int batchInsertSelective(@Param("list") List<DesignerProjectAttribute> list, @Param("selective") DesignerProjectAttribute.Column ... selective);

    int logicalDeleteByExample(@Param("example") DesignerProjectAttributeExample example);

    int logicalDeleteByPrimaryKey(Integer projectId);
}